<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>添加会员类型</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="../../../../elementUI/index.css">
  <link rel="stylesheet" href="../../../../css/index.css">
</head>

<body>
  <div id="app" class="minWidth">
    <el-form :model="form" ref="contract" inline-message="true" :rules="rules" style="width: 100%">
      <el-input v-model.trim="form.Enterprise_Info_SerialNumber" v-show="false"></el-input>
      <el-input v-model.trim="form.Industry_SubCategory_SerialNumber" v-show="false"></el-input>
      <el-input v-model.trim="form.Industry_Category_SerialNumber" v-show="false"></el-input>
      <div class="table_titel">
        <div class="titel">添加会员类型</div>
      </div>
      <!-- <el-descriptions :column="3" border size="small">
        <el-descriptions-item label="用户名称">
          <el-form-item prop="Enterprise_Name">
            <el-input v-model.trim="form.Enterprise_Name" placeholder="请输入用户名"></el-input>
          </el-form-item>
        </el-descriptions-item> -->
      <!-- <el-descriptions-item label="纳税识别号">
          <el-form-item prop="Tax_Number">
            <el-input v-model.trim="form.Tax_Number" placeholder="请输入纳税识别号"></el-input>
          </el-form-item>
        </el-descriptions-item> -->
      <el-descriptions :column="3" border size="small">
        <el-descriptions-item label="员工类型">
          <el-form-item prop="type">
            <el-select v-model.trim="form.type" placeholder="员工类型" filterable style="width: 100%">
              <el-option label="普通员工" value="0"></el-option>
              <el-option label="最佳员工" value="1"></el-option>
              <el-option label="经理" value="2"></el-option>
              <el-option label="指定员工" value="3"></el-option>
            </el-select>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="工资">
          <el-form-item prop="wages">
            <el-input v-model.trim="form.wages" placeholder="请输入工资"></el-input>
          </el-form-item>
        </el-descriptions-item>
      </el-descriptions>
      <!-- <div class="table_titel">
        <div class="titel">企业法人信息</div>
        <div class="operation">
          <el-button type="primary" size="small" @click="add_enterprise_legal_person">新增</el-button>
          <el-button type="danger" size="small" @click="remove_enterprise_legal_person">删除</el-button>
        </div>
      </div>
      <el-descriptions :column="3" border size="small" v-for="(item,index) in form.Children.enterprise_legal_person"
        :key="item.key">
        <el-input v-model.trim="item.Insurance_Type_SerialNumber"
          :prop="'Children.enterprise_legal_person.' + index + '.Insurance_Type_SerialNumber'" v-show="false">
        </el-input>
        <el-input v-model.trim="item.Insurance_Category_SerialNumber"
          :prop="'Children.enterprise_legal_person.' + index + '.Insurance_Category_SerialNumber'" v-show="false">
        </el-input>
        <el-descriptions-item label="法人">
          <el-form-item :prop="'Children.enterprise_legal_person.' + index + '.Legal_Person'">
            <el-input v-model.trim="item.Legal_Person" placeholder="请输入法人"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="法人联系人">
          <el-form-item :prop="'Children.enterprise_legal_person.' + index + '.Mobile'">
            <el-input v-model.trim="item.Mobile" placeholder="请输入法人联系人"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="法人身份证号">
          <el-form-item :prop="'Children.enterprise_legal_person.' + index + '.ID_Number'">
            <el-input v-model.trim="item.ID_Number" placeholder="请输入法人身份证号"></el-input>
          </el-form-item>
        </el-descriptions-item>
      </el-descriptions>

      <div class="table_titel">
        <div class="titel">合同甲方开票信息</div>
        <div class="operation">
          <el-button type="primary" size="small" @click="add_enterprise_invoiceinfo">新增</el-button>
          <el-button type="danger" size="small" @click="remove_enterprise_invoiceinfo">删除</el-button>
        </div>
      </div>
      <el-descriptions :column="3" border size="small" v-for="(item,index) in form.Children.enterprise_invoiceinfo"
        :key="item.key">
        <el-input v-model.trim="item.Enterprise_InvoiceInfo_SerialNumber"
          :prop="'Children.enterprise_invoiceinfo.' + index + '.Enterprise_InvoiceInfo_SerialNumber'" v-show="false">
        </el-input>
        <el-input v-model.trim="item.Enterprise_Info_SerialNumber"
          :prop="'Children.enterprise_invoiceinfo.' + index + '.Enterprise_Info_SerialNumber'" v-show="false">
        </el-input>
        <el-descriptions-item label="地址">
          <el-form-item :prop="'Children.enterprise_invoiceinfo.' + index + '.Address'">
            <el-input v-model.trim="item.Address" placeholder="请输入地址"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="电话">
          <el-form-item :prop="'Children.enterprise_invoiceinfo.' + index + '.Mobile'">
            <el-input v-model.trim="item.Mobile" placeholder="请输入电话"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="开户银行">
          <el-form-item :prop="'Children.enterprise_invoiceinfo.' + index + '.Bank_Name'">
            <el-input v-model.trim="item.Bank_Name" placeholder="请输入开户银行"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="银行账号">
          <el-form-item :prop="'Children.enterprise_invoiceinfo.' + index + '.Bank_Account'">
            <el-input v-model.trim="item.Bank_Account" placeholder="请输入银行账号"></el-input>
          </el-form-item>
        </el-descriptions-item>
      </el-descriptions> -->

      <el-form-item class="form-operation">
        <el-button @click="window.history.back()">返回</el-button>
        <el-button type="primary" :loading="loading" @click="submitForm('contract')">提交</el-button>
      </el-form-item>
    </el-form>
  </div>
  <script type="text/javascript" src="../../../../js/jquery-3.6.0.min.js"></script>
  <script type="text/javascript" src="../../../../js/jquery.cookie.js"></script>
  <script type="text/javascript" src="../../../../js/vue.min.js"></script>
  <script type="text/javascript" src="../../../../elementUI/index.js"></script>
  <script type="text/javascript" src="../../../../js/utils.js"></script>
  <script type="text/javascript" src="../../../../js/ID_Validity.js"></script>
  <script type="text/javascript" src="./js/Add.js"></script>
</body>

</html>